package entityrelationship.diagram.edit.parts.custom;

import entityrelationship.Connection_Entity_Relationship;
import entityrelationship.Relationship;


public class AutomaticCardinalityRelationship{

	public static void AutomaticCardinalityRelationship(Connection_Entity_Relationship notifier) {
		notifier.getConnection_Relationship().getConnected_with_entity();
		String card =notifier.getConnection_Relationship().getCardinality();
		notifier.getConnection_Relationship().setCardinality("");
		notifier.getConnection_Relationship().setCardinality(card);
	}
	
	public static void AutomaticCardinalityRelationship2(Relationship notifier) {
		notifier.getConnected_with_entity();
		String card =notifier.getCardinality();
		notifier.setCardinality("");
		notifier.setCardinality(card);
	}
}
